<?php foreach($groups as $group): ?>
<div class="xzxxti">
    <div class="xzxxpto"><img src="<?php echo $group->getThumbCover('groupcover'); ?>" width="60" height="60" />  </div>
                <div class="xzxxc">
                    <div class="xzname"><a href="<?php echo url_for('theme/group?id='.$group->getId()); ?>"><?php echo $group->getName(); ?></a></div>
                    <div class="xzguanz"><?php echo $group->getPeopleNum(); ?>个成员　<a href="javascript:alert('请先登入！');">+加入小组</a></div>
                </div>
            </div>
<?php endforeach; ?>